#ifndef MIMETYPES_H
#define MIMETYPES_H

#include <defs/global.h>
#include <QtCore>

O_PRIVATE_DECLARE(MimeTypes);
class MimeTypes : public QObject {
    Q_OBJECT
public:
	MimeTypes(QObject *parent);
	~MimeTypes();
	void loadFile(const QString& filename);
	QString mimeFor(const QString& ext);
private:
    O_PRIVATE_DECLARE_MEMBER(MimeTypes);
};

#endif // MIMETYPES_H

